package site.luojie.common.mq.input;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;

/**
 * @author jie.luo
 * @since 2020/9/16
 */
public interface MessageVerifyCodeInput {
    /**
     * 验证码输入通道(消息消费者)
     */
    String VERIFY_CODE_INPUT = "verifyCodeInput";

    /**
     * 验证码输入通道 (消息消费者)
     *
     * @return SubscribableChannel
     */
    @Input(VERIFY_CODE_INPUT)
    SubscribableChannel verifyCodeInput();
}
